Skip to content

[HorizonDB] Add cluster authentication and password authentication commands - #10610

Closed
rmendiza wants to merge 2 commits into
Azure:mainfrom
rmendiza:feature-horizondb-authentication
Closed

rmendiza wants to merge 2 commits into
Azure:mainfrom
rmendiza:feature-horizondb-authentication

Conversation

@rmendiza

@rmendiza rmendiza commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

🤖 PR Validation — ⚠️ Review suggested

Breaking Changes Suppressions
⚠️ None ⚠️ 3 added
⚠️Azure CLI Extensions Breaking Change Test
⚠️horizondb
rule cmd_name rule_message suggest_message
⚠️ 1011 - SubgroupAdd horizondb cluster authentication sub group horizondb cluster authentication added

This PR adds warning or check suppressions. Fix the underlying warning where possible and justify each remaining suppression in a code comment or the PR description.

3 added suppressions
File Line Kind Code
src/horizondb/azext_horizondb/aaz/latest/horizondb/cluster/authentication/password/custom.py 23 pylint validate = password._fmt # pylint: disable=protected-access
src/horizondb/azext_horizondb/aaz/latest/horizondb/cluster/authentication/password/custom.py 32 pylint password._fmt = validate_without_echo # pylint: disable=protected-access
src/horizondb/azext_horizondb/tests/latest/test_horizondb_authentication.py 20 skipped test self.skipTest('Authentication cassette missing; record explicitly in a disposable subscription.')

Related commands

az horizondb cluster authentication list and az horizondb cluster authentication password {show,create,update,wait}

Expose the service-created cluster authentication settings for 2026-10-01-preview. Password create uses PUT, update sends a sparse PATCH, and both support --no-wait. The CLI can prompt for a password without putting it on the command line.

Validation

  • azdev style horizondb and command-table lint
  • python scripts/ci/test_index.py -q (7 passed, 2 skipped)
  • Preview version and release notes updated; reconcile the beta number against main before merge.

Offline tests cover request bodies, polling, prompting, and password redaction. A lifecycle scenario is included; its live recording and subsequent playback are pending. It skips rather than recording implicitly when the cassette is absent.

Companion AAZ model PR: Azure/aaz#1180

rmendiza and others added 2 commits November 20, 2026 13:58
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 623396a5-dd46-4d21-9278-63b6e564f9b3
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 623396a5-dd46-4d21-9278-63b6e564f9b3
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@a0x1ab

Copy link
Copy Markdown
Member

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 2 pipeline(s).

@rmendiza

Copy link
Copy Markdown
Member Author

Consolidated into #10611 so both HorizonDB changes can be reviewed and merged together. The authentication implementation and tests are included there.

@rmendiza rmendiza closed this Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants